Version

ColorPicker(String,ColorPickerModel) Method

Accepts a model class and an id and returns a string that will be rendered in the view.
Syntax
'Declaration
 
Public Overloads Function ColorPicker( _
   ByVal id As System.String, _
   ByVal colorPickerModel As ColorPickerModel _
) As System.Web.Mvc.MvcHtmlString
public System.Web.Mvc.MvcHtmlString ColorPicker( 
   System.string id,
   ColorPickerModel colorPickerModel
)

Parameters

id
colorPickerModel
Remarks
No further method calls are required to render the control, because the return type is MvcHtmlString, which is a rendered HTML string.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub